.class Lcom/estrongs/android/ui/dialog/m0$a;
.super Ljava/lang/Object;
.source "PermissionDialog.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/ui/dialog/m0;->c()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/ui/dialog/m0;


# direct methods
.method constructor <init>(Lcom/estrongs/android/ui/dialog/m0;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/m0$a;->a:Lcom/estrongs/android/ui/dialog/m0;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView<",
            "*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/m0$a;->a:Lcom/estrongs/android/ui/dialog/m0;

    invoke-static {p1}, Lcom/estrongs/android/ui/dialog/m0;->a(Lcom/estrongs/android/ui/dialog/m0;)Lcom/estrongs/android/ui/dialog/m0$f;

    move-result-object p1

    invoke-virtual {p1, p3}, Lcom/estrongs/android/ui/dialog/m0$f;->getItem(I)Lorg/json/JSONObject;

    move-result-object p1

    const-string p2, "key"

    .line 2
    invoke-virtual {p1, p2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result p3

    if-eqz p3, :cond_1

    .line 3
    :try_start_0
    invoke-virtual {p1, p2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    const-string p3, "disable"

    .line 4
    invoke-virtual {p1, p3}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result p1

    const/4 p3, 0x1

    if-ne p1, p3, :cond_0

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/m0$a;->a:Lcom/estrongs/android/ui/dialog/m0;

    invoke-static {p1}, Lcom/estrongs/android/ui/dialog/m0;->b(Lcom/estrongs/android/ui/dialog/m0;)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1, p2}, Les/nu;->b(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_2

    .line 6
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/m0$a;->a:Lcom/estrongs/android/ui/dialog/m0;

    invoke-static {p1}, Lcom/estrongs/android/ui/dialog/m0;->b(Lcom/estrongs/android/ui/dialog/m0;)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1, p2}, Les/nu;->a(Ljava/lang/String;Ljava/lang/String;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_1
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_2

    :catch_0
    move-exception p1

    goto :goto_0

    :catch_1
    move-exception p1

    goto :goto_1

    .line 7
    :goto_0
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    goto :goto_2

    .line 8
    :goto_1
    invoke-virtual {p1}, Lorg/json/JSONException;->printStackTrace()V

    .line 9
    :goto_2
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/m0$a;->a:Lcom/estrongs/android/ui/dialog/m0;

    invoke-static {p1}, Lcom/estrongs/android/ui/dialog/m0;->c(Lcom/estrongs/android/ui/dialog/m0;)V

    :cond_1
    return-void
.end method
